<?php

namespace PackageSpy;

class ProviderInfoResult {
	
	private $stateOfPackage = array();
	
	public function getStateOfPackage(){
		return $this->stateOfPackage;
	}
	
	public function getLastStateOfPackage(){
		return end($this->stateOfPackage);
	}
	
	public function addStateOfPackage($aStateOfPackage){
		array_push($this->stateOfPackage, $aStateOfPackage);
	}
}
